<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>溢出设置</title>
    <style>
        div{
            width: 200px;height: 200px;
            border: 2px solid red;
            /*hidden超出不显示*/
            overflow: scroll;
        }
        body>img{
            width: 100px;
            /*
                top上对齐
                bottom下对齐
                middle中间对齐
                baseline基线对齐(默认)
            */
            vertical-align: middle;

        }

    </style>
</head>
<body>
<input type="text"><img src="../mm2=0.jpg" alt="">
<div>
    <img src="../day01/mm1.jpg" alt="">
</div>



</body>
</html>